View Javadoc
1   package edu.jiangxin.apktoolbox.android.dumpsys.alarm;
2   
3   import java.util.Collections;
4   import java.util.List;
5   
6   public class AlarmTreeTableDataNode {
7       private String objectId;
8       private String appPackage;
9       private String alarmType;
10      private String when;
11      private String fireDateTime;
12  
13      private List<AlarmTreeTableDataNode> children;
14  
15      public AlarmTreeTableDataNode(String objectId, String appPackage, String alarmType, String when, String fireDateTime, List<AlarmTreeTableDataNode> children) {
16          this.objectId = objectId;
17          this.appPackage = appPackage;
18          this.alarmType = alarmType;
19          this.when = when;
20          this.fireDateTime = fireDateTime;
21          this.children = children;
22  
23          if (this.children == null) {
24              this.children = Collections.emptyList();
25          }
26      }
27  
28      public String getObjectId() {
29          return objectId;
30      }
31  
32      public String getAppPackage() {
33          return appPackage;
34      }
35  
36      public String getAlarmType() {
37          return alarmType;
38      }
39  
40      public String getWhen() {
41          return when;
42      }
43  
44      public String getFireDateTime() {
45          return fireDateTime;
46      }
47  
48      public List<AlarmTreeTableDataNode> getChildren() {
49          return children;
50      }
51  
52      public String toString() {
53          return objectId;
54      }
55  }